<div class="adsLeft">
    <a href="#">
        <img src="../template/default/themes/img/ads_left.png" alt="qc"/>
    </a>
</div>
<div class="adsRight">
    <a href="#">
        <img src="../template/default/themes/img/ads_right.png" alt="qc"/>
    </a>
</div>
<script>
    var rong = (($('.body_home').width() - 960)/2 - 130)/2;
    $('.adsLeft').css({'left':rong});
    $('.adsRight').css({'right':rong});
</script>